using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Windows.Forms;

namespace GameShow.DAL
{
    public class Database
    {
        private static string _ConnectionString = null;
        public static string ConnectionString
        {
            get
            {
                if (_ConnectionString == null)
                {
                    StreamReader sr = new StreamReader(Application.StartupPath + "\\" + "database.txt");
                    _ConnectionString = sr.ReadLine();
                    sr.Close();                    
                }
                return _ConnectionString;
            }
        }        
    }
}
